/**
 *  example3.vala
 *
 *  Copyright (c) 2007 INdT (Instituto Nokia de Technologia)
 *                2007 Marcelo Lira dos Santos <setanta@gmail.com>
 *
 *  Author: Marcelo Lira dos Santos <setanta@gmail.com>
 *
 *  This program is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU General Public License as
 *  published by the Free Software Foundation; either version 2 of the
 *  License, or (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 *  USA
 */

using GLib;
using Gtk;
using Pango;
using Hildon;

public class Example3 : Hildon.Window
{
    construct {
        var vbox1 = new VBox(false, 4);
        
        var label = new Label("Select something"); 
        vbox1.pack_start(label, true, true, 0);

        var combo = new Example3Combo();
        vbox1.pack_start(combo, true, true, 0);

        add (vbox1);

        destroy += Gtk.main_quit;
    }

    static int main (string[] args) {
        Gtk.init(out args);

        Environment.set_application_name("Sample 3");

        Example3 ex3 = new Example3();

        Hildon.Program program = Hildon.Program.get_instance();
        program.add_window((Hildon.Window) ex3);

        ex3.show_all();
        
        Gtk.main();

        return 0;
    }
}
